System and method for reducing lock time in a phase-locked loop

ABSTRACT

Increasing loop gain is a common practice for reducing lock time of phase locked loops. Very high loop gains, however, often result in increasing the lock time or causing loop instability. For very high loop gains, delaying the feedback clock signal along the feedback path of a phase locked loop decreases lock time and prevents instability. A delay circuit may be used at any location along the feedback path of the phase locked loop.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.11/958,189, filed Dec. 17, 2007. This application is incorporated byreference herein in its entirety and for all purposes.

TECHNICAL FIELD

This invention is directed toward phase locked loops, and moreparticularly one or more of the embodiments of this invention relates toreducing lock time in phase locked loops.

BACKGROUND OF THE INVENTION

A phase locked loop (PLL) is a closed loop frequency control system. ThePLL adjusts the frequency of an internal signal until the phase of aninternal signal is substantially the same as the phase of a referencesignal (e.g., an external clock signal) to which the internal signal is“locked.” When either the PLL is initially powered or the internalsignal or reference signal is first applied to the PLL, the phase of theinternal signal generally will be quite different from the phase of thereference signal. The PLL then adjusts the phase of the internal signaluntil it is aligned with the phase of the reference signal, and the PLLis thus locked with the reference signal.

There are many types of prior art PLLs available, one of which is acharge pump PLL 100 as shown in FIG. 1. The charge pump PLL 100 of FIG.1 includes a phase detector 110, a charge pump 102, a filter 104, avoltage controlled oscillator 106, and an N frequency divider circuit108 connected to each other as shown. The phase detector 110 comparesthe phases of two input signals, an external clock signal 112 and afeedback clock signal 114. The phase detector 100 then generates anUP_signal 120 or a DN_signal 122 depending on the phase differencebetween the two input signals 112 and 114. The UP_signal 120 and theDN_signal 122 are applied to a charge pump 102, which generates avoltage having a magnitude that changes in one direction in response tothe UP_signal 120 and in the other direction in response to theDN_signal 122. The voltage from the charge pump 102 passes through thefilter 104 to control the dynamic performance of the PLL 100. The filter104 then outputs a control signal (“Vct”) 124, or a phase error signal,that is applied to the voltage controlled oscillator 106 (“VCO”). TheVCO 106 generates a periodic output clock signal having a frequencycorresponding to (e.g., that is controlled by) the control signal Vct124.

The output signal of the phase detector 110 causes the charge pump 102and filter 104 to adjust the magnitude of the control signal Vct 124 toeither increase or decrease the frequency of the output clock signal 116generated by the voltage control oscillator 106. More specifically, thecontrol signal Vct 124 has a magnitude that increases responsive to theUP_signal 120 and decreases responsive to the DN_signal 122. The controlsignal Vct 124 adjusts the frequency of the feedback clock signal 114until the phase (which is the integral to the frequency) of the feedbackclock signal 114 is equal to the phase of the external clock signal 112so that the PLL 100 is locked. When the PLL is locked, the frequency ofthe feedback clock signal 114 will, of course, be equal to the frequencyof the external clock signal 112. The feedback clock signal 114 may gothrough an N divider circuit 108 before being fed back into the phasedetector 110 so that the frequency of the output clock signal 116 willbe N times greater than the frequency of the external clock signal 112.The output clock signal 116 is then output from the PLL 100.

FIG. 2 is an example signal timing diagram illustrating the varioussignals that may be generated during a typical operation of the priorart PLL 100 in FIG. 1. At time t₁ the external clock signal 112 leadsthe feedback clock signal 114 by the difference of t₀ and t₁. Inresponse to a rising edge of the external clock signal 112 at time t₀,the phase detector 110 drives the UP_signal 120 low. At time t₁ and inresponse to a rising edge of the feedback clock signal 114, the phasedetector 110 drives the UP_signal 120 high. Therefore, the phasedetector 110 generates the UP_signal 120 as a negative pulse having awidth proportional to the time the feedback clock signal 114 lags theexternal clock signal 112 to increase the frequency of the feedbackclock signal 114. Conversely, at time t₅ the external clock signal 112lags the feedback clock signal 114 by the difference of t₄ and t₅. Inresponse to a rising edge of the feedback clock signal 114 at time t₄,the phase detector 110 drives the DN_signal 122 high. At time t₅ and inresponse to a rising edge of the external clock signal 112, the phasedetector 110 drives the DN_signal 122 low. Thus, the phase detector 110generates the DN_signal 122 as a positive pulse on the DN_signal 122having a width proportional to the time the feedback clock signal 114leads the external clock signal 112 to decrease the frequency of thefeedback clock signal 114.

The PLL 100 will continue to generate appropriate negative UP_signals120 or positive DN_signals 122 until the feedback clock signal 114 is inphase and thus at the same frequency as the external clock signal 112 tokeep the PLL 100 in lock. With further reference to FIG. 2, at timet_(n) a rising edge of the external clock signal 112 is at nearly thesame time as the rising edge of the feedback clock signal 114.Therefore, the PLL 100 locks.

The time it takes the PLL 100 to lock is typically an importantparameter of the PLL. This is due, in part, to the fact that the PLL isnot really usable for its intended purpose until the PLL 100 is locked.Traditionally, one technique that has been used to reduce the lock timehas been to increase the loop gain. Once the loop gain exceeds a certainrange, however, increasing the loop gain may increase the lock time,rather than reducing the lock time. In addition to increasing the locktime, very high loop gains often result in loop instability. If a PLL isunstable, the PLL will not lock and will not function properly. Anexample of instability in PLL occurs when the charge pump continuouslyovercompensates for the phase difference of the two input signals.

Therefore, there is a need for a PLL having a relatively short lock timewhile maintaining stability of the PLL.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a phase locked loop in accordance withprior art.

FIG. 2 is a timing diagram representative of waveforms at theinput/output of the phase detector of a phase locked loop in accordancewith prior art.

FIG. 3 is a block diagram of a phase locked loop according to oneembodiment of the invention.

FIG. 4 shows a schematic illustration of one way to reduce the loopgain.

FIGS. 5A and 5B are schematic illustrations of a delay circuit accordingto one embodiment of the invention.

FIG. 6A is a simulation graph representative of the number of cycles fora PLL to lock in accordance with prior art.

FIG. 6B is a simulation graph representative of the number of cycles fora PLL to lock in accordance with one embodiment of the invention.

FIG. 7 is a block diagram of a memory device using a PLL according toone embodiment of the invention.

FIG. 8 is a block diagram of an embodiment of a processor based systemusing the memory device of FIG. 7.

DETAILED DESCRIPTION

Embodiments of the present invention are directed toward, for example,providing a system and method of reducing the lock time of a phaselocked loop (PLL). Certain details are set forth below to provide asufficient understanding of the embodiments of the invention. However,it will be clear to one skilled in the art that various embodiments ofthe invention may be practiced without these particular details.

FIG. 3 is a functional block diagram of a PLL 300 according to oneembodiment of the invention. Although the PLL 300 in FIG. 3 shows acharge pump PLL, any type of PLL may be used. The PLL 300 includes aphase detector 310, a charge pump 302, a filter 304, a voltage controloscillator 306, an N divider circuit 308 and a delay circuit 340connected to each other as shown. Most of the components of the PLL 300are used in the PLL 100 shown in FIG. 1, and they operate in the samemanner. Therefore, in the interest of brevity, an explanation of theirstructure and function will not be repeated. The PLL 300 differs fromthe PLL 100 by placing a delay circuit 340 between the N divider circuit308 and the phase detector 310 along the feedback path.

The delay circuit 340 has the effect of increasing the stability of thePLL 300 so that the gain can be increased to reduce lock time withoutmaking the PLL 300 unstable. The delay circuit 340 may be any type ofdelay circuit. In one embodiment, the amount of delay applied to thefeedback clock signal 314 depends on the value of the loop gain. Forexample, as the loop gain increases, the amount of delay added to thefeedback clock signal 314 also increases. The amount of delay may bedefined relative to the external clock signal 312. For example, thedelay circuit 340 may delay the period of the feedback clock signal 314along the feedback path 330 between about 20% and about 70% of theexternal clock signal 312, such as between about 30% and about 60% ofthe external clock signal 312.

In other embodiments, the amount of delay applied to the feedback clocksignal 314 may remain constant. For example, the delay may remain alongthe feedback path 330 even after the PLL 300 locks. If the amount ofdelay changes over time, the delay may change before or after the PLL300 locks. Examples of the delay changing over time include the delaybeing added and/or removed from the feedback path 330. In addition, thedelay amount may be increased and/or decreased. The change to the delaymay be gradual or immediate. In one embodiment, the delay may be removedor reduced after the PLL 300 has locked to reduce jitter. Typically,when the PLL 300 is locked, the two phases are very closely aligned butnot identical. Therefore, as the variation of the static phase offsetgoes to zero, the jitter is reduced. Thus, the delay may be removed orreduced after the PLL is locked to reduce the static phase offset. Thisis done with the reduction of charge pump current to help ensure loopstability. FIG. 4 shows a schematic drawing for reducing the charge pumpcurrent. In this embodiment, the delay may be reduced or eliminatedwhile reducing the loop gain. Switch 410 reduces the amount of currentout of the capacitor, which reduces the voltage step. By reducing thevoltage step, the charge pump current is reduced, and thus the loop gainis reduced.

In one embodiment, the loop gain is increased as the amount of delay isincreased. Increasing the loop gain increases the bandwidth of the loop.As will be understood by those skilled in the art, one way to increaseloop gain is to increase the charge pump current. Other ways ofincreasing the loop gain are within the knowledge of those of ordinaryskill in the art, and will not be described herein in the interest ofbrevity.

The delay circuit 340 may be located anywhere along the feedback path330. FIG. 3 shows the delay circuit 340 after the N divider circuit 308,however, the delay circuit 340 may be located before the N dividercircuit 308. Furthermore, if no N divider circuit 308 is provided in thefeedback path 330 of the PLL 300, the delay circuit 340 may be locatedat any location along the feedback path 330. Similarly, if additionalcircuits are provided along the feedback path 330, the delay circuit 340may be located in any position relative to the additional circuits.

One embodiment of the delay circuit 340 that may be used in the PLL 300of FIG. 3 is shown in the schematic illustrations of FIGS. 5A and 5B. Inboth Figures delay circuits 340A and 340B include a bypass path, such asalternately closed switches 341A, 342B, which may be a transistor, relayor other device, for turning off and on the delay. In FIG. 5A switch341A is open and switch 342A is closed to bypass the delay circuit. FIG.5B shows the delay circuit 340B with the switch 341B closed and theswitch 342B open so that the delay is applied to the feedback clocksignal 314 (in FIG. 3) along the feedback path 330.

The simulated lock behavior of a PLL similar to the PLL 300 in FIG. 3 isshown in FIGS. 6A and 6B. With reference to FIGS. 6A and 6B, simulationswere conducted on the PLL 300 without a delay and with a delay,respectively. In both simulations the relevant input parameters were thesame, such as cycle time of the external clock and pump current. Inaddition, both simulated PLLs had very high loop gain. FIG. 6A did nothave a delay applied during the feedback path and FIG. 6B had a 0.5period delay relative to the external clock applied to the feedbackclock signal along the feedback path. A 0.5 delay is a 180° shift of thecycle time of the external clock. FIG. 6A shows that the PLL without thedelay circuit 340 cycled about 220 times before locking. In contrast,the diagram in FIG. 6B shows that the PLL with the delay circuit 340cycled less than 20 times before locking. Therefore, the addition of thedelay circuit significantly reduced the lock time of the PLL.

FIG. 7 shows a memory device 700 according to one embodiment of theinvention. The memory device 700 is a dynamic random access (“DRAM”),although the principles described herein are applicable to DRAM cells,Flash or some other memory device that receives memory commands. Thememory device 700 includes a command decoder 720 that generates sets ofcontrol signals corresponding to respective commands to performoperations in memory device 700, such as writing data to or reading datafrom memory device. The memory device 700 further includes an addresscircuit 730 that selects the corresponding row and column in the array.Both the command signals and address signals are typically provided byan external circuit such as a memory controller (not shown). The memorydevice 700 further includes an array 710 of memory cells arranged inrows and columns. The array 710 may be accessed on a row-by-row,page-by-page or bank-by-bank basis as will be appreciated by one skilledin the art. The command decoder 720 provides the decoded commands to thearray 710, and the address circuit 730 provides the row and columnaddress to the array 710. Data is provided to and from the memory device700 via a data path. The data path is a bidirectional data bus. During awrite operation write data are transferred from a data bus terminal DQto the array 710 and during a read operation read data are transferredfrom the array 710 to the data bus terminal DQ. A PLL 740, such as thePLL 300 from FIG. 3, may be located in the memory device. The PLL 740receives a CLK signal as a reference signal and generates one or moreinternal clock signals (“ICLK”) that may be used to perform a variety ofoperations in the memory device. For example, the ICLK may be used tocapture command, address and write data signals, transmit read datasignals from the memory device, or perform a variety of other functions.

FIG. 8 is a block diagram of an embodiment of a processor-based system800 including processor circuitry 802, which includes the memory device700 of FIG. 7 or a memory device according to some other embodiment ofthe invention. Conventionally, the processor circuitry 802 is coupledthrough address, data, and control buses to the memory device 700 toprovide for writing data to and reading data from the memory device 700.The processor circuitry 802 includes circuitry for performing variousprocessing functions, such as executing specific software to performspecific calculations or tasks. In addition, the processor-based system800 includes one or more input devices 804, such as a keyboard or amouse, coupled to the processor circuitry 802 to allow an operator tointerface with the processor-based system 800. Typically, theprocessor-based system 800 also includes one or more output devices 806coupled to the processor circuitry 802, such as output devices typicallyincluding a printer and a video terminal. One or more data storagedevices 808 are also typically coupled to the processor circuitry 802 tostore data or retrieve data from external storage media (not shown).Examples of typical data storage devices 808 include hard and floppydisks, tape cassettes, compact disk read-only (“CD-ROMs”) and compactdisk read-write (“CD-RW”) memories, and digital video disks (“DVDs”).

Although the present invention has been described with reference to thedisclosed embodiments, persons skilled in the art will recognize thatchanges may be made in form and detail without departing from the spiritand scope of the invention. Such modifications are well within the skillof those ordinarily skilled in the art. Accordingly, the invention isnot limited except as by the appended claims.

1. (canceled)
 2. A locked loop, comprising: a phase comparison circuitconfigured to receive an external signal and a feedback signal, thephase comparison circuit further configured to generate a phasedifference signal; a signal generator configured to receive the phasedifference signal and generate an output signal, the output signalhaving a frequency based, at least in part, on the phase differencesignal; and a delay circuit configured to receive the output signal andgenerate the feedback signal, the delay circuit configured in a firstmode, before the locked loop is locked, to add a delay to the outputsignal to, at least in part, generate the feedback signal, and beingconfigured in a second mode, after the locked loop is locked, togenerate the feedback signal from the output signal without anysubstantial added delay.
 3. The locked loop of claim 2, wherein thephase difference signal is filtered before being received at the signalgenerator.
 4. The locked loop of claim 2, wherein the delay, in thefirst mode of the delay circuit, is adjustable as a function of a periodof the external signal.
 5. The locked loop of claim 2, wherein thedelay, in the first mode of the delay circuit, is adjustable as afunction of a loop gain of the locked loop.
 6. The locked loop of claim5, wherein the delay is decreased as the loop gain is decreased.
 7. Thelocked loop of claim 5, wherein the delay is increased as the loop gainis increased.
 8. The locked loop of claim 2, wherein the phasecomparison circuit comprises: a phase detector; and a charge pump. 9.The locked loop of claim 8, wherein the delay, in the first mode of thedelay circuit, is decreased as a current through the charge pumpdecreases.
 10. A locked loop, comprising: a phase comparison circuitconfigured to receive an external signal and a feedback signal, thephase comparison circuit further operable to generate a phase differencesignal; a signal generator configured to receive the phase differencesignal and generate an output signal, the output signal having afrequency based, at least in part, on the phase difference signal; and adelay circuit comprising: a switch; and a delay element, wherein theswitch is configured, in a first mode, to couple the delay elementbetween the signal generator and the phase comparison circuit togenerate the feedback signal, and in a second mode, to bypass the delayelement to generate the feedback signal.
 11. The locked loop of claim10, wherein the delay element in the delay circuit delays the outputsignal to generate the feedback signal, and the delay is based, at leastin part, on a loop gain of the locked loop.
 12. The locked loop of claim10, wherein the delay element in the delay circuit delays the outputsignal to generate the feedback signal, and the delay is based, at leastin part, on a period of the external signal.
 13. The locked loop ofclaim 12, wherein the delay is between about 20% and 70% of the periodof the external signal.
 14. The locked look of claim 13, wherein thedelay is between about 30% and 60% of the period of the external signal.15. A method for reducing lock time in a locked loop, comprising:generating a control signal as a function of the difference between anexternal signal and a feedback signal; generating an internal signal asa function of the control signal; and generating the feedback signal byselectively adding a delay to the internal signal; wherein the delay ischanged when the loop is locked.
 16. The method of claim 15, wherein thedelay is changed immediately.
 17. The method of claim 16, wherein thedelay is changed immediately by bypassing the delay when the loop islocked.
 18. The method of claim 17 wherein bypassing the delay when theloop is locked comprises selectively removing the delay by a switch. 19.A method for reducing lock time in a locked loop, comprising: receivinga reference signal; comparing the reference signal with a feedbacksignal to generate a difference between the reference signal and thefeedback signal; filtering the difference; generating, in a controlledoscillator, an internal signal based at least in part on the difference;and generating, in a delay circuit, the feedback signal; wherein thedelay circuit, in a first mode, generates the feedback signal withoutdelaying the internal signal, and, in a second mode, generates thefeedback signal by adding a delay to the internal signal.
 20. The methodof claim 19, wherein the delay is added as a function of a gain value ofthe locked loop.
 21. The method of claim 19, wherein the delay is addedas a function of a period of the external signal.
 22. The method ofclaim 19, further comprising: gradually decreasing a gain of the lockedloop at substantially the same time as decreasing the delay.